Micron Document
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| SparkN0de-git | SparkN0de |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Commit a3951e8b6f68eda97b22892ae0d77c53fbc843bf


Parents : 8869c10
Author : Ivan <ivan@quad4.io>
Signature : Signature validation error
Date : 2026-04-16T04:24:11-05:00

chore(docker): install essential runtime tools in the virtual environment and update pip and setuptools in the Dockerfile

Changes

1 files changed, 4 insertions(+), 1 deletions(-)

M Dockerfile +4 -1

Diff

diff --git a/Dockerfile b/Dockerfile
index 836f09d8..3f134d7e 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -32,6 +32,9 @@ RUN pip install --no-cache-dir --upgrade "pip>=26.0" poetry setuptools wheel "ja
RUN python -m venv /opt/venv
ENV PATH="/opt/venv/bin:$PATH"
+# Install essential runtime tools in the venv
+RUN pip install --no-cache-dir --upgrade "pip>=26.0" "setuptools" "jaraco.context>=6.1.0"
+
COPY pyproject.toml poetry.lock ./
# poetry will use the active venv
RUN poetry config virtualenvs.create false && \
@@ -54,7 +57,7 @@ FROM ${PYTHON_IMAGE}@${PYTHON_HASH}
RUN apk upgrade --no-cache && \
apk add --no-cache ffmpeg opusfile libffi espeak-ng su-exec && \
- python -m pip install --no-cache-dir --upgrade "pip>=26.0" "jaraco.context>=6.1.0" && \
+ python -m pip install --no-cache-dir --upgrade "pip>=26.0" "setuptools" "jaraco.context>=6.1.0" && \
rm -rf /root/.cache/pip && \
addgroup -g 1000 meshchat && adduser -u 1000 -G meshchat -S meshchat && \
mkdir -p /config && chown meshchat:meshchat /config


──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────